package Negocio2;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import NegocioException.*;

public interface IOSistema {

	public abstract List<Departamento> getDepartamentos();

	public abstract void addDisciplinaProfessor(Disciplina disc, Professor prof)
			throws OperacaoIncorretaException, NegocioException.OperacaoIncorretaException, SQLException;

	public abstract void cadastrarDepartamento(Departamento dep) throws SQLException;



	public abstract void addProjeto(Projeto projeto, Departamento dep)
			throws SQLException;

	public abstract void addProfessorProjeto(Projeto projeto, Professor prof,
			Departamento dep) throws OperacaoIncorretaException;

	public abstract void addCurso(Curso curso, Departamento dep)
			throws OperacaoIncorretaException, SQLException;

	public abstract void addTurmaCurso(Turma turma, Curso curso,
			Departamento dep);

	public abstract void addDisciplina(Curso curso, Disciplina disc)
			throws OperacaoIncorretaException, SQLException;

	
	
	public abstract boolean login(String nome, String maticula) throws FileNotFoundException, IOException, ClassNotFoundException, SQLException;

	public abstract void addDicProxSemestre(Professor professor, Disciplina discProxSem) throws SQLException;
	
	

	void addDisciplinaCurso(Curso curso, Disciplina disciplina) throws SQLException;

	void cadastrarProfessorDepatarmento(Professor professor,Departamento dep)throws OperacaoIncorretaException, SQLException;

	void addTurmaDisciplina(Turma turma, String disciplina) throws SQLException;
	

	

}